package com.xiaren.bean;

/**
 * 搜索的文件的实体
 * @author xiaren<br/>
 * @主页 http://www.leaf123.cn/
 * @邮箱 xia5523@qq.com
 */
public class SelectText {
	String content;
	int begin = 0;
	int end = 0;

	public SelectText(int begin, int end) {
		super();
		this.begin = begin;
		this.end = end;
	}

	public SelectText(String content, int begin, int end) {
		super();
		this.content = content;
		this.begin = begin;
		this.end = end;
	}


	public SelectText() {
		super();
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public int getBegin() {
		return begin;
	}

	public void setBegin(int begin) {
		this.begin = begin;
	}

	public int getEnd() {
		return end;
	}

	public void setEnd(int end) {
		this.end = end;
	}

	@Override
	public String toString() {
		return "begin = " + begin + " , end = " + end + " , content = " + content;
	}

}
